[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 22:25 schrieb Denis Maier via ntg-context: Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> hat am 14.04.2024 22:18 CEST geschrieben: On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filena

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Denis Maier via ntg-context
using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel I don't think tiff has ever be sup

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel I don't think

[NTG-context] Is TIFF image no longer supported?

2024-04-14 Thread Joel via ntg-context
I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
can get inspired. Everything works as it should: ``` $ docker run --rm -it minidocks/context --luatex --version resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md' mtx-context | redirect luametatex -> luatex: luatex --luao

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
ation.report scripts = scripts or { } scripts.interface = scripts.interface or { } local flushers = { } local userinterfaces= { 'en','cs','de','it','nl','ro','fr','pe' } local messageinterfaces = { 'en','cs','de','it','nl','ro','fr','pe','no' } local fun

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
we use another call to the same smile drawing (but in *.svg format) % the svg file is given by Inkscape (as the smile.pdf, exported through Inkscape) \startMPcode draw lmt_svg [ filename = "smile.svg"] \stopMPcode \stopchapter \startchapter[title={Hans tricky drawing}] No

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread seyal zavira
st be callable on the command > > line (which doesn’t work for me on MacOS any more, must investigate…). > \startMPcode > draw lmt_svg [ filename = "smile.svg"] > \stopMPcode > > Now gives the attached but it took me a while to figure out what wo

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread Hans Hagen via ntg-context
? \externalfigure[smile] without any other settings, but inkscape must be callable on the command line (which doesn’t work for me on MacOS any more, must investigate…). \startMPcode draw lmt_svg [ filename = "smile.svg"] \stopMPcode Now gives the attached but it took me a while

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
ode: > > \starttext > \startMPcode > draw lmt_svg [ > filename = "smile.svg"] > \stopMPcode > \stoptext I can confirm the problem also with the regular image call \externalfigure

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Henning Hraban Ramm
Am 12.03.24 um 14:53 schrieb seyal zavira: > when i want to put some SVGs in my document the svg does not render properly here is the code: > > \starttext > \startMPcode > draw lmt_svg [ > filename = "smile.svg"] > \stop

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
> > https://wiki.contextgarden.net/SVG > > Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit : > > hi all. > > > > when i want to put some SVGs in my document the svg does not render > properly here is the code: > > > > \starttext > > \startMPcode &g

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
Hi ! Did you have a look at this : https://wiki.contextgarden.net/SVG Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit : hi all. when i want to put some SVGs in my document the svg does not render properly here is the code: \starttext \startMPcode draw lmt_svg [ filename = "smil

[NTG-context] how to include an an svg file?

2024-03-12 Thread seyal . zavira
hi all. when i want to put some SVGs in my document the svg does not render properly here is the code: \starttext \startMPcode draw lmt_svg [ filename = "smile.svg"] \stopMPcode \stoptext also when i look at evenmore manual at page15, for font Abelone-FREE the gradients has rendere

[NTG-context] Re: output filename with SHA256

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/23/24 16:01, mf wrote: > [...] > A new run is started unless: > [...] > - the tuc file is identical to the one of the previous run Hi Massi, many thanks for your reply. If ConTeXt relies on that condition to stop compilation, then it would be great to know how it is performed to invoke

[NTG-context] \getdocumentfilename or document.files

2024-02-27 Thread Pablo Rodriguez via ntg-context
context --purgeall a b c "b.tex" is a different file and "c.tex" is a symlink to "a.tex". I only get the first filename for "a.tex" and the last filename for "c.tex". Which is the right way to get the second and third filenames when in "a.pd

[NTG-context] Re: output filename with SHA256

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/23/24 23:58, Bruce Horrocks wrote: >> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> Is there any way to check if compilation needs any other run? >> [...] > Rather than use the wrapup() hook can why not rename the file using > a second job on the command

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Le 26/02/2024 à 18:53, Wolfgang Schuster a écrit : mtxrun --script fonts --list --all --pattern=gfsdidot* Wolfgang, You're right, here below the lack of italics typeface identifier   familyname    fontname filename   subfont   instances gfsdidot

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
x/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37> (...tail calls...) El dom, 25 feb 2024 a las 16:41, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > IntroEstadisticaNP-error.lo

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread Bruce Horrocks
os.remove(exists_pdf) end >os.rename(pdf_file_name, ("%s_%s-%s.pdf"):format(c_r, tex.jobname, > sha_pdf)) > end > ) > \stopluacode > \stoptext > > In short, it adds its SHA256 to the final filename. > > Since renames the PDF document in each run, I

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread mf
rmat(c_r, tex.jobname, sha_pdf)) end ) \stopluacode \stoptext In short, it adds its SHA256 to the final filename. Since renames the PDF document in each run, I would like to remove the output from the previous run. The table seems not to store the value from a previous run. I see now that I am c

[NTG-context] output filename with SHA256

2024-02-23 Thread Pablo Rodriguez via ntg-context
t adds its SHA256 to the final filename. Since renames the PDF document in each run, I would like to remove the output from the previous run. The table seems not to store the value from a previous run. I see now that I am creating it again with each run. Is there any way to check if compilat

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Henning Hraban Ramm
ypaths} is modeled after \type{visualizepaths} from %D \filename{mp-tool}. def sketchypaths = let draw = sketchdraw ; let fill = sketchfill ; enddef ; %D Check if \filename{mp-tool} is loaded if not known context_tool : let normaldraw = draw; let normalfill = fill; def naturalizepaths

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
ge > > ``` > > > > Is there a problem with my installation? > > Additional output: > > ``` > > % mtxrun --script fonts --list --all --pattern='fontawesome' > > identifier familyname fontname > > fil

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
output: ``` % mtxrun --script fonts --list --all --pattern='fontawesome' identifier familyname fontname filename subfont instances fontawesomefontawesome

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
pattern='fontawesome' identifier familyname fontname filename subfont instances fontawesomefontawesome fontawesome FontAwesome.ot

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
Hi Hans (and anyone else interested in synctex), On Fri, Dec 8, 2023 at 11:38 (-0400), Jim wrote: > Hi Hans, > On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote: >> On 12/7/2023 7:23 PM, Jim wrote: >>> Hi, >>> In mtx-synctex.lua, inside >>> lo

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
Hi Hans, On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote: > On 12/7/2023 7:23 PM, Jim wrote: >> Hi, >> In mtx-synctex.lua, inside >> local function findlocation(filename,page,xpos,ypos,tolerance) >> there is the following code: >> for s=1,tolerance,max

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Hans Hagen via ntg-context
On 12/7/2023 7:23 PM, Jim wrote: Hi, In mtx-synctex.lua, inside local function findlocation(filename,page,xpos,ypos,tolerance) there is the following code: for s=1,tolerance,max(tolerance//10,1) do locate( s, 0) if fi ~= 0 then tl = s ; goto done

[NTG-context] mtx-synctex.lua question

2023-12-07 Thread Jim
Hi, In mtx-synctex.lua, inside local function findlocation(filename,page,xpos,ypos,tolerance) there is the following code: for s=1,tolerance,max(tolerance//10,1) do locate( s, 0) if fi ~= 0 then tl = s ; goto done end locate(-s, 0

[NTG-context] externalfigure crashed

2023-11-22 Thread Hans van der Meer via ntg-context
is as simple as can be.The filename is test.jpeg, then this runs ok:\starttext\externalfigure[test.jpeg][]\stoptextBut this crashes, see the log:\starttext\externalfigure[test.jpg][]\stoptext yours sincerelydr. Hans van der Meer showlayout.log Description: Binary data

[NTG-context] Problem with dataset not being populated

2023-11-14 Thread Bruce Horrocks
I produce a small magazine where the source files are organised into a product and component structure. For each issue, I have a main file with \startproduct and then, inside that, several \component[filename] statements, one per article. Each article starts in a standard way, including

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
. The ‘regular’ design size is accessed by simply using adobesource-nodesignsize. Questions For the Experts = To avoid a gigantic typescript file with a lot of duplication, I offloaded the font filename calculation to a Lua function (see attached adobesource.lua). I initially

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
of duplication, I offloaded the font filename calculation to a Lua function (see attached adobesource.lua). I initially wanted to put the Lua code inside the typescript, but then I had all sorts of weird Lua compilation errors. The very same code works fine when included in a normal document though

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
= To avoid a gigantic typescript file with a lot of duplication, I offloaded the font filename calculation to a Lua function (see attached adobesource.lua). I initially wanted to put the Lua code inside the typescript, but then I had all sorts of weird Lua compilation errors. The very same code

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Henning Hraban Ramm
s. Can anybody else confirm if they can correctly see the source files when clicking the links? Sorry, I used the general {{src|filename}} template in the wiki, that links to the source browser, but only to files in tex/context/base but not to the modules in tex/context/modules Not a problem o

[NTG-context] Re: Install fonts on MS Windows

2023-09-24 Thread Jean-Pierre Delange
s --list --pattern=didot --all This returned the font: C:\griego>mtxrun --script fonts --list --pattern=didot --all identifier           familyname    fontname filename                                   subfont instances gfsdidot             gfsdidot      gfsdidotregular  c:/windows/fon

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Andres Conrado Montoya
without asterisks: mtxrun --script fonts --list --pattern=didot --all This returned the font: C:\griego>mtxrun --script fonts --list --pattern=didot --all identifier familynamefontname filename subfont instances gfsdidot gfsdi

[NTG-context] XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread denis.maier
Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. The first image () does not get included even though the name is correct. The second image () gets included. Filename is correct. The third

[NTG-context] Low res output possible?

2023-08-21 Thread Benjamin Buchmuller
SAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px", oldname, newname, resolution, width, height)) return end local TEXpt = 65536 local inch = 72.27 -- MkIV: -- local image = img.scan{filename = oldname} -- LMTX: local image = figures.getinfo(oldname,1) image = image.status

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
ext \stoptext 530 \startitemize[1][distance=0.5cm] 531 \sym{\in[exercici:proporcionalitat-directa-7]} \startitemize[a] 532 \item $A$ té 80 persones, $B$ té 60 persones, 40 persones són de $C$, 50 persones són de $D$. Per tant, el subgrup més nombrós és l'$A$. 533 \item $A$ té 315 p

[NTG-context] Very strange error:

2023-08-14 Thread Xavier B.
KIV to LMTX. Before with MKIV I get no errors. dev.tex Description: TeX document return { ["errortype"]=6, ["filename"]="./dev.tex", ["lastcontext"]="\n200 persones en total \\par \\startitemize [a, packed] \\item 2 de 5 persones estan a $A$ \

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread Hans Hagen via ntg-context
else print(n,s) end end end check(environment.files[1],environment.files[2]) -- print("TEST 1") -- check("xxx.log") -- print("TEST 2") -- check("xxx.log","xxx.tmp") --- >mtxrun --script xxx xxx.log 1

[NTG-context] Re: Triaging tikz error: Cannot parse this coordinate

2023-08-08 Thread Hans Hagen
day I'll optimize %D TIKZ a bit.) %D %D All these t-* modules in the tikz distribution make no sense as we can just load %D them here which is way cleaner. There is also some mkii filename mapping going on %D that is not needed on todays systems (windows has no 8.3 limitation and on unix %D tds fin

[NTG-context] Triaging tikz error: Cannot parse this coordinate

2023-08-08 Thread Xavier B.
\starttikzpicture 65\node[anchor=south west,inner sep=0] at (0,0) {\externalfigure[figs/proporcionalitat-geometrica-figs-Australia-OSM.png][scale=600]}; 66\draw[help lines, xstep=1,ystep=1] (0,0) grid (9,9); 67%\foreach \x in {0,1,...,9} { \node [anchor=nort

[NTG-context] Re: setupexternalfigures and resoĺution

2023-07-28 Thread Benjamin Buchmuller
-downsample.lua local function sample_down_pdf(oldname, newname, resolution) print("DOWNSAMPLE sample_down " .. oldname .. " to " .. newname) -- MkIV: -- local image = img.scan{filename = oldname} -- LMTX: local image = figures.getinfo(

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Alan Braslau via ntg-context
{filename = figures.current().status.fullname} if I understand this right, "img" isn’t valid anymore: """ token call, execute: grph-imagelib.lua:37: attempt to index a nil value (global 'img') """ I’d like to know the pixel size and if possible also the

[NTG-context] Re: access image properties in Lua

2023-07-13 Thread Hans Hagen
On 7/11/2023 2:22 PM, Henning Hraban Ramm wrote: What’s the current approved way to get image properties within a Lua function? very old: local pic = figures.getinfo(figures.current().status.fullname) used to work in 2019: local pic = img.scan{filename = figures.current().status.fullname

[NTG-context] access image properties in Lua

2023-07-11 Thread Henning Hraban Ramm
What’s the current approved way to get image properties within a Lua function? very old: local pic = figures.getinfo(figures.current().status.fullname) used to work in 2019: local pic = img.scan{filename = figures.current().status.fullname} if I understand this right, "img" i

[NTG-context] lpdf.registerfontmethod

2023-07-06 Thread Max Chernoff
, this is how I'm using it: lpdf.registerfontmethod("rawpdf", function(filename, details) return details.properties.indexdata[1], 0.001, function(char) return char.code, char.width / t3_to_sp end, func

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
realpage 1, userpage 1, subpage 1 close source> level 1, order 2, name './atestinlucida-OTF-99.mkiv' backend > fonts > width units in 'VXLOQV+LucidaBright' are 2048, forcing 1000 instead system > start used files system > text: atestinlucida-OTF-99 sy

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
>>> \setuplanguage[en][patterns={en}]\mainlanguage[en] >>> >>> \starttext >>> \setupindenting[none] >>> \setupindenting[no] >>> {\bf The quick brown fox jumped over the lazy dog} >>> >>> \input knuth >>> \stoptext >

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Wolfgang Schuster via ntg-context
gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*' identifier                 familyname   fontname       filename                                           subfont   instances cabinitalic                 cabin        cabinitalic /Users/gerben/Library/Fonts/Cabin-

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
d it in LMTX and it has been installed: > > gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*' > identifier familyname fontname filename > subfont instances > > cab

[NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
s been installed: gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*' identifier familyname fontname filename subfont instances cabinitalic cabincabinitalic /Users/

Re: [NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-27 Thread Denis Maier via ntg-context
directory. This was asked 10 years ago: `tex.stackexchange.com/questions/67928/how-to-set-output-directory-in-context-command` The answer given then was to use: `context filename --result=output-directory/filename` But this doesn't work now. When I compile my .tex file, I get a message: `results

Re: [NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-27 Thread peter.hopcroft--- via ntg-context
7928/how-to-set-output-directory-in-context-command` >> >> The answer given then was to use: >> `context filename --result=output-directory/filename` >> >> But this doesn't work now. When I compile my .tex file, I get a message: >> `results are to be on the running path,

[NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-26 Thread Max Chernoff via ntg-context
/how-to-set-output-directory-in-context-command` > > The answer given then was to use: > `context filename --result=output-directory/filename` > > But this doesn't work now. When I compile my .tex file, I get a message: > `results are to be on the running path, not on 'output-directory

[NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-26 Thread peter.hopcroft--- via ntg-context
` The answer given then was to use: `context filename --result=output-directory/filename` But this doesn't work now. When I compile my .tex file, I get a message: `results are to be on the running path, not on 'output-directory', ignoring --result` I've looked in the wiki: `https

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600

Re: [NTG-context] installer

2023-05-08 Thread Günter Kolousek via ntg-context
of outdated information; module lists still need work) mtxrun --script install-modules --install --all this generates an error: resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' mtx-install-modules | unknown subdirectory 'texmf-context

Re: [NTG-context] installer

2023-05-07 Thread Floris van Manen via ntg-context
| globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' mtx-install-modules | unknown subdirectory 'texmf-context' ___ If your question is of interest to others as well, please add

Re: [NTG-context] installer

2023-05-07 Thread Floris van Manen via ntg-context
| globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' mtx-install-modules | unknown subdirectory 'texmf-context' ___ If your question is of interest to others as well, please add

Re: [NTG-context] installer

2023-05-07 Thread Otared Kavian via ntg-context
s.lua’ >> >> >> Best regards: Otared >> >>> On 7 May 2023, at 16:59, Hans Hagen via ntg-context >>> wrote: >>> >>> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote: >>>> $ mtxrun --script install-modules --list &

Re: [NTG-context] installer

2023-05-07 Thread Floris van Manen via ntg-context
resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] installer

2023-05-07 Thread Alexandre Christe via ntg-context
context > > wrote: > > > > On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote: > > > $ mtxrun --script install-modules --list > > > resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: > > > 'changelog', already: 'ChangeLo

Re: [NTG-context] installer

2023-05-07 Thread Otared Kavian via ntg-context
> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote: >> $ mtxrun --script install-modules --list >> resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: >> 'changelog', already: 'ChangeLog' >> mtxrun | unknown script 'inst

Re: [NTG-context] installer

2023-05-07 Thread Hans Hagen via ntg-context
On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote: $ mtxrun --script install-modules --list resolvers   | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' mtxrun  | unknown script 'install-modules.lua' or 'mtx-install-modules.lua

Re: [NTG-context] installer

2023-05-07 Thread Floris van Manen via ntg-context
$ mtxrun --script install-modules --list resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Floris van Manen via ntg-context
}; \addlegendentry{Al6061-T6} \addplot[mark=none,color=orange] plot file {nylon.dat}; \addlegendentry{nylon} \stopaxis \stoptikzpicture \stoptext i get a fatal error: resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers

[NTG-context] tikz + lmtx

2023-04-27 Thread Aditya Mahajan via ntg-context
ical reasons %D per 2021 we split the module for \MKIV\ and \LMTX. (Maybe some day I'll optimize %D TIKZ a bit.) %D %D All these t-* modules in the tikz distribution make no sense as we can just load %D them here which is way cleaner. There is also some mkii filename mapping going o

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Hans Hagen via ntg-context
. The output for Roboto Flex is as follows: identifier                          familyname   fontname  filename         subfont   instances robotoflex                          robotoflex   robotoflexregular robotoflex.ttf             thin extralight light regular medium semibold

[NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Pawel Urbanski via ntg-context
familyname fontname filename subfont instances robotoflex robotoflex robotoflexregular robotoflex.ttf thin extralight light regular medium semibold bold extrabold black extrablack thinitalic extralightitalic lightitalic italic

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-04-02 Thread George N. White III via ntg-context
..}', say '\def\cs{...}'. I've inserted an inaccessible control sequence so that your definition will be completed without mixing me up too badly. mtx-context | fatal error: return code: 1 > During the texlive package, I get this error: > > return { > > > ["filename"]=&qu

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
On 3/30/2023 8:52 PM, Xavier B. via ntg-context wrote: Hi, I use artix linux (a fork of arch with systemd alternative init systems). During the texlive package, I get this error: return { ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex&qu

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
rtix linux (a fork of arch with systemd alternative init systems). > During the texlive package, I get this error: > > return { > > ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", > ["

[NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
Hi, I use artix linux (a fork of arch with systemd alternative init systems). During the texlive package, I get this error: return { ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", ["lastcontext"]="\n \n \\inacces

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-27 Thread Carlos via ntg-context
aving the same way? > > > > Answer: no. > > no surprise because it doesn't use the same setup > > what cache path does > > mtxrun --variables > > report > > Hans > > Thanks a lot Hans! Of course your sugggestion by using otf rather than goin

Re: [NTG-context] Bug in searching TTC fonts for the script of mtxrun

2023-03-22 Thread Hans Hagen via ntg-context
weight stylewidthvariant fontname filename subfont fontweight notoserifcjkhk normal normal normal normal notoserifcjkhkregular NotoSerifCJK-Regular.ttc 5 conflict:

Re: [NTG-context] Best way to access casul fonts

2023-01-23 Thread Garulfo via ntg-context
Hi, Following the instruction from : https://wiki.contextgarden.net/Use_the_fonts_you_want mtxrun --script font --list --file -pattern=*casual* gives : familyname weight   style    width    variant   fontname   filename    subfont   fontweight

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
ced" then e[#e+1] = pdfstring(tag) e[#e+1] = reference -- already a reference f[#f+1] = reference -- collect all file description references else -- messy spec ... when annot not in named else twice in menu list acrobat

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
report_attachment("unreferenced file, tag %a",tag) elseif referenced[tag] == "hidden" or referenced[tag] == "forced" then e[#e+1] = pdfstring(tag) e[#e+1] = reference -- already a reference f[#f+1] = reference --

Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context
the latest update broke my installation on linux. How can I revert to a working version? .F $ context context18.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex

Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context
\getbuffer[b] \stop \stoptext $ context context\ 17.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname

Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread skyhorse--- via ntg-context
ontext wrote: > Hi Marco, > > If I create a file named « bar.txt » then > > \starttext > Nothing to say\dots > > \typefile{bar.txt} > > \stoptext > > gives the correct result. However ConTeXt seems to dislike \typefile{bar} > when the filename has no suff

Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Marco Patzer via ntg-context
Xt seems to dislike \typefile{bar} when the filename > has no suffix. Is there a way around it? Traditionally there are plenty of files without suffix (e.g. README, Makefile, configure, etc.) Marco ___ If your quest

Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Otared Kavian via ntg-context
Hi Marco, If I create a file named « bar.txt » then \starttext Nothing to say\dots \typefile{bar.txt} \stoptext gives the correct result. However ConTeXt seems to dislike \typefile{bar} when the filename has no suffix. Best regards : Otared > On 17 Dec 2022, at 16:06, Marco Patzer via

[NTG-context] Non-standard font alternatives

2022-12-13 Thread Matthew McCabe via ntg-context
up I set OSFONTDIR to include this directory and run `mtxrun --script fonts --reload --force` 3. `mtxrun --script fonts --list --all --pattern=Robo` yields: identifier familyname fontname filename subfont instances roboto

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
| www.pragma-ade.nl | www.pragma-pod.nl - \startluacode document.foundsection = { first = 0, last = 0 } function document.loadsection(filename,reference) local data = job.loadother(file.addsuffix(filename,&quo

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
fonts --list --info --file LibertinusSerif-Regular.otf mtx-fonts | mtx-fonts | mapping : 1 mtx-fonts | fontname : libertinusserifregular mtx-fonts | fullname : libertinusserifregular mtx-fonts | filename : LibertinusSerif-Regular.otf mtx-fonts | family

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Aditya Mahajan via ntg-context
On Mon, 31 Oct 2022, Joel via ntg-context wrote: > I found what it was, a % in the text preventing a \stopitemize to close a > list. Thanks! --Joel mtxrun concheck filename is very useful in such situations.

Re: [NTG-context] \setuparranging values for perfect bound A5 on A3?

2022-10-09 Thread Bruce Horrocks via ntg-context
ut I assume the printer can do that >> fairly easily. > > I don't think that there's any way to do this from within a document > run, so I think that you'll need to use an external program. > >> If not, is there a recommended external program that can do it? > > But, you c

Re: [NTG-context] \setuparranging values for perfect bound A5 on A3?

2022-10-08 Thread Max Chernoff via ntg-context
am. > If not, is there a recommended external program that can do it? But, you can use ConTeXt as the external program here. Save as "imposition.cld": local filename = document.getargument("filename") local pdf = lpdf.epdf.image.open(filename) local pages = pdf.nofpa

Re: [NTG-context] Example from Practex Journal

2022-10-08 Thread Wolfgang Schuster via ntg-context
module [1]  which is MkII only and no longer part of the ConTeXt distribution. The filename of the module is s-ptj-01.mkii when you're looking for the source. I find this one hard to replicate. What is the font type that was used for this document ? The document uses TeX Gyre Pagella as main

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Hans Hagen via ntg-context
On 9/26/2022 11:04 PM, Angel M Alganza via ntg-context wrote: On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename  > a6.pdf mtx-pdf | pdf vers

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename > a6.pdf mtx-pdf | pdf version > 1.7 mtx-pdf | major version >

[NTG-context] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Adam Reviczky via ntg-context
=*lato* identifier familyname fontname filename subfont instances latoblacklato latoblackLato-Bla.ttf latoblackitalic lato latoblackitalic Lato-BlackItalic.ttf latobold lato latobold Lato

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Henning Hraban Ramm via ntg-context
rmat("DOWNSAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px", oldname, newname, resolution, width, height)) return end local TEXpt = 65536 local inch = 72.27 -- MkIV: -- local image = img.scan{filename = oldname} -- LMTX: local image = figures.getinfo(oldname,1)

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
on == "" then -- or (not width and not height) then print(format("DOWNSAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px", oldname, newname, resolution, width, height)) return end local TEXpt = 65536 local inch = 72.27 -- MkIV: -- local image = img.scan{filename = old

Re: [NTG-context] Merging two lua tables

2022-08-29 Thread Aditya Mahajan via ntg-context
gt; > > > ``` > > local t1 = { 1, 2 } > > local t2 = { 8, 9 } > > > > local m1 = {} > > table.merge(m1,t1, t2) > > table.print(m1) > > > > local m2 = table.merged(t1, t2) > > table.print(m2) > > ``` > > > > Process

  1   2   3   4   5   6   7   8   9   10   >